#
#  Be sure to run `pod spec lint GULShareTools.podspec' to ensure this is a
#  valid spec and to remove all comments including this before submitting the spec.
#
#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

Pod::Spec.new do |s|

  # ―――  Spec Metadata  ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  #
  #  These will help people to find your library, and whilst it
  #  can feel like a chore to fill in it's definitely to your advantage. The
  #  summary should be tweet-length, and the description more in depth.
  #

  s.name         = "GULShareTools"
  s.version      = "0.0.2"
  s.summary      = "GULShareTools is ShareTools"
  s.description  = <<-DESC
                    国美统一入口的分享工具;目前仅支持微信,QQ,新浪的分享;
                    DESC
  s.homepage     = "https://git.oschina.net/Holink521/GFShareManager"
  s.license      = { :type => "MIT" }
  s.author       = { "hulinhu" => "hulinhu@gomeholdings.com" }
  s.platform     = :ios
  s.source       = { :git => "https://git.oschina.net/Holink521/GFShareManager.git", :tag => "#{s.version}" ,}

  # 针对实体文件夹
  # s.public_header_files = "GULShareTools/GULShareTools.h"
  # s.source_files = "GULShareTools/**/*.{h,m}"
  # s.source_files =  "GFShareManager/GULShareTools/**/*.{h,m}"


  # # 针对子类实体文件夹
  s.subspec "GULShareClass" do |gu|
     gu.source_files = "GULShareTools/GULShareClass/*.{h.m}"
     gu.public_header_files = "GULShareTools/GULShareClass/*.{h}"
  end

  s.subspec "CurrentActivityController"  do |ss|
     ss.source_files = "GULShareTools/CurrentController.{h.m}"
     ss.public_header_files = "GULShareTools/CurrentController.h"
  end


  s.subspec "GULToast"  do |ss|
     ss.source_files = "GULShareTools/GULToast.{h.m}"
     ss.public_header_files = "GULShareTools/GULToast.h"
  end

  s.subspec "UIColor+Extention"  do |ss|
     ss.source_files = "GULShareTools/UIColor+WFHexColor.{h.m}"
     ss.public_header_files = "GULShareTools/UIColor+WFHexColor.h"
  end

  s.subspec "UIView+YYAdd"  do |ss|
     ss.source_files = "GULShareTools/UIView+YYAdd.{h.m}"
     ss.public_header_files = "GULShareTools/UIView+YYAdd.h"
  end


  s.resource  = "GULShareTools/GULShareImage.bundle"
  # s.resources = "Resources/*.png"

  s.framework  = 'UIKit'
  s.requires_arc = true
  s.ios.deployment_target = "8.0"
  s.dependency "Toast"
  s.dependency "ShareSDK3/ShareSDKPlatforms/QQ"
  s.dependency "ShareSDK3/ShareSDKPlatforms/SinaWeibo"
  s.dependency "ShareSDK3/ShareSDKPlatforms/WeChat"

end
